package com.myaihui;


import com.myaihui.converter.String2DateConverter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.core.convert.converter.Converter;


@SpringBootApplication
@Slf4j
public class Application {
	@Bean
	public Converter converter() {
		return new String2DateConverter();
	}

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}

}
